Layer Definition Schema
COLOR Element
See Also  Send comments on this topic.
Layer Definition Schema : COLOR Element

Glossary Item Box

Description

Used to define a color in a color ramp.Used to define a color in a color ramp.

Diagram

COLOR Element

Overview

COLOR
Used to define a color in a color ramp.Used to define a color in a color ramp.
color required xs:string

Attributes

NameTypeUseDefaultFixedDescription
colorxs:stringrequired   

Remarks

Colors can be specified as:

  • ArcIMS Style RGB: "R,G,B" -- R,G,B must each be in the range 0-255.
  • HTML Style RGB: "#RRGGBB" -- Each component is a hex value in the range 00-FF.
  • HTML Name: "name" -- Standard HTML color names (for example, AliceBlue, AntiqueWhite, Aqua, etc.).

Examples

Source

<xs:element name="COLOR" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define a color in a color ramp.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="color" type="xs:string" use="required" />
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.